package com.kapcb.statemachine.builder;

import com.kapcb.statemachine.Action;

/**
 * <a>Title: When </a>
 * <a>Author: kapcb <a>
 * <a>Description: When <a>
 *
 * @author Kpacb
 * @version 1.0
 * @date 2024/7/24 21:24
 * @since 1.0
 */
public interface When<S, E, C> {

    /**
     * Define action to be performed during transition
     *
     * @param action performed action
     */
    void perform(Action<S, E, C> action);

}
